<template>
  <div>
    <div class="taskbar">
      <emojiVue />
    </div>

    <textarea class="text" v-model="text"></textarea>
    <div class="send">
      <button @click="sendText">发送</button>
    </div>
  </div>
</template>

<script>
import emojiVue from "./emoji.vue";
import person from '../../api/ws/request'
export default {
  components: {
    emojiVue,
  },
  data() {
    return {
      text: "value",
    };
  },
  methods: {
    sendText(){
      // person.sendMessage()
    }
  },
};
</script>

<style lang="less" scoped>
div {
  margin: 0;
  padding: 0;
}
* {
  padding: 0;
  margin: 0;
}
.taskbar {
  width: 1250px !important;
  height: 5vh !important;
  line-height: 30px;
  padding-left: 30px;
}
.text {
  width: 100% !important;
  height: 20vh !important;
  padding: 0;
  margin: 0;
  font-size: x-large !important;
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 10px;
  box-sizing: border-box;
  border: none;
  resize: none;
  outline: none;
  overflow: auto;
}
.send {
  width: 400px !important;
  height: 35px !important;

  margin-top: -20px;
  float: right;
  padding-right: 20px;
  line-height: 35px;
  & > button {
    width: 70px;
    height: 30px;
    float: right;
    font-size: large;
    border-radius: 10px;
    border: 0px;
  }
}
</style>
